package com.selen.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Selen
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RolePermission implements Serializable {

    /**  主键  */
    private Long id;
    /**  角色ID，角色表外键  */
    private Long fkRoleId;
    /**  权限ID，权限表外键  */
    private Long fkPermissionId;

    /**  逻辑删除  */
    private Integer deleted;
    /**  创建时间  */
    private LocalDateTime created;
    /**  修改时间  */
    private LocalDateTime updated;

}
